﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using GiveAQuiz.Common.Mvvm;

namespace GiveAQuiz.Questions
{
  
    public class MultipleChoiceQuestionItem : ObservableObject
    {
      bool _isCorrectChoice = false;
      string _choiceText = "";

      public bool IsCorrectChoice 
      {
        get { return _isCorrectChoice; }
        set
        {
          if (value != _isCorrectChoice)
          {
            _isCorrectChoice = value;
            RaisePropertyChanged("IsCorrectChoice");
          }
        }
      }
      public string ChoiceText
      {
        get { return _choiceText; }
        set
        {
          if (value != _choiceText)
          {
            _choiceText = value;
            RaisePropertyChanged("ChoiceText");
          }
        }
      }
   }
}
